import java.util.Arrays;

//1.封装
/*class Student {
            private int weight;
            private int age;
            private String name;

            public Student() {
                System.out.println("wewewe");
            }
            public int getWeight() {
                return weight;
            }

            public void setWeight(int weight) {
                this.weight = weight;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

        }

    public class j6 {
        public static void main1(String[] args) {
            Student student=new Student();
            student.setWeight(100);
            System.out.println(student.getWeight());
            student.setName("pppp");
            System.out.println(student.getName());
            student.setAge(10);
            System.out.println(student.getAge());
        }
        }*/
public class j6{
            public static void main(String[] args) {
                int []array={1,2,3,4,5,6};
                System.out.println(Arrays.toString(array));
            }
}


